[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
keep() Exit and Remain Resident
#include <dos.h>
void keep(status,size);
unsigned char status; Exit status
unsigned size; Program size in paragraphs
keep() uses the advanced MS-DOS terminate-but-stay-resident function
0x31 to return to MS-DOS with the exit status in 'status'. The
current program remains resident; its size is set to 'size'
paragraphs, and the remaining memory allocated to the program is
freed.
Returns: There is no return value
Portability: MS-DOS only.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson